﻿using System;
using Volo.Abp.Domain.Entities.Auditing;

namespace Leo.Awesome.DictionaryManagement.Domain
{
    public class DictionaryItem : FullAuditedEntity<Guid>
    {
  
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }

   
        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        public int OrderIndex { get; set; }


        /// <summary>
        /// 所属字典项
        /// </summary>
        public Guid DictionaryId { get; set; }


        /// <summary>
        /// 是否为系统字段
        /// </summary>
        public bool IsSystem { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool IsLocked { get; set; }
    }
}
